package com.cskaoyan.mall.model.bo.goods;

import java.util.List;

/**
 * @ClassName: GoodsDetailsBo
 * @Description: TODO
 * @Auther 庄左
 * @Date 2022/6/30 17:42
 * @Version
 **/
public class UpdateGoodsDetailsBo {

    /**
     * img : /static/image/16565816829501.jpg
     * name : 音乐
     * specList : [{"unitPrice":"1","specName":"默认","stockNum":"1"},{"unitPrice":"999999999","specName":"务实的风格","stockNum":"99"},{"unitPrice":"999999999","specName":"务实的风格","stockNum":"99"}]
     * typeId : 340
     * desc : 醒醒，0点了
     */
    private Integer id;
    private String img;
    private String name;
    private List<SpecListEntity> specList;
    private String typeId;
    private String desc;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSpecList(List<SpecListEntity> specList) {
        this.specList = specList;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getImg() {
        return img;
    }

    public String getName() {
        return name;
    }

    public List<SpecListEntity> getSpecList() {
        return specList;
    }

    public String getTypeId() {
        return typeId;
    }

    public String getDesc() {
        return desc;
    }

    public class SpecListEntity {
        /**
         * unitPrice : 1
         * specName : 默认
         * stockNum : 1
         */
        private String unitPrice;
        private String specName;
        private String stockNum;

        public void setUnitPrice(String unitPrice) {
            this.unitPrice = unitPrice;
        }

        public void setSpecName(String specName) {
            this.specName = specName;
        }

        public void setStockNum(String stockNum) {
            this.stockNum = stockNum;
        }

        public String getUnitPrice() {
            return unitPrice;
        }

        public String getSpecName() {
            return specName;
        }

        public String getStockNum() {
            return stockNum;
        }
    }
}
